package com.bwie.controller;

import com.bwie.service.TagService;
import com.bwie.utils.Result;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: TaoShiHao
 * @Date: 2025/5/27 16:02
 * @Description:
 **/
@RestController
@RequestMapping("/shop/tag")
@Api(tags = "标签管理")
public class TagController {
    @Autowired
    TagService tagService;
    @ApiOperation(value = "获取所有标签")
    @PostMapping("/getTagList")
    public Result getTagList(){
        return tagService.getTagList();
    }
}
